﻿using CodeCube.Common;
using CodeCube.Core.Repository;
using CodeCube.Service.DtoModel;
using CodeCube.Service.Model;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace CodeCube.Service.Interfaces
{
    public interface ILoginOperateService
    {
        Task<ApiResult<UserAccountModel>> LoginAsync(string Account, string Password);
        Task<List<string>> GetMenuItemListAsync(string UserGuid);
        Task<List<SysMenuDto>> GetMenuTreeAsync(string ParentGuid, List<string> MenuList);
        Task<ApiResult<string>> LogoutAsync();
    }
}
